#ifndef __MT_RAND_H__
#define __MT_RAND_H__

typedef unsigned int mtrand_uint32_t;

typedef struct
{
	mtrand_uint32_t state[624];
	mtrand_uint32_t index;
} mtrand_state_t;

void mtrand_seed(mtrand_state_t *mt, mtrand_uint32_t seed);
mtrand_uint32_t mtrand_rand_u32(mtrand_state_t *mt);

#endif
